package com.indexingsystem.boss.entity;

import java.io.Serializable;

/**
 * idx_theme_table_group
 * @author 
 */
public class IdxThemeTableGroupWithBLOBs extends IdxThemeTableGroup implements Serializable {
    /**
     * 所有子类id，逗号分割
     */
    private String arrchildid;

    /**
     * 描述
     */
    private String description;

    private static final long serialVersionUID = 1L;

    public String getArrchildid() {
        return arrchildid;
    }

    public void setArrchildid(String arrchildid) {
        this.arrchildid = arrchildid;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        IdxThemeTableGroupWithBLOBs other = (IdxThemeTableGroupWithBLOBs) that;
        return (this.getThemeGroupId() == null ? other.getThemeGroupId() == null : this.getThemeGroupId().equals(other.getThemeGroupId()))
            && (this.getParentid() == null ? other.getParentid() == null : this.getParentid().equals(other.getParentid()))
            && (this.getArrparentid() == null ? other.getArrparentid() == null : this.getArrparentid().equals(other.getArrparentid()))
            && (this.getChild() == null ? other.getChild() == null : this.getChild().equals(other.getChild()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getArrchildid() == null ? other.getArrchildid() == null : this.getArrchildid().equals(other.getArrchildid()))
            && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getThemeGroupId() == null) ? 0 : getThemeGroupId().hashCode());
        result = prime * result + ((getParentid() == null) ? 0 : getParentid().hashCode());
        result = prime * result + ((getArrparentid() == null) ? 0 : getArrparentid().hashCode());
        result = prime * result + ((getChild() == null) ? 0 : getChild().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getArrchildid() == null) ? 0 : getArrchildid().hashCode());
        result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", arrchildid=").append(arrchildid);
        sb.append(", description=").append(description);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}